<template>
	<view class="home-stay">
		<u-navbar
			height="71"
			@goback="goback"
			:is-back="isBack"
			back-icon-color="white"
			:back-text-style="textStyle"
			:background="{ background: background }"
			:border-bottom="isBottom"
			:back-text="title"
			 back-icon-size="15"
		>
		</u-navbar>
	</view>
</template>

<script>
export default {
	props: {
		isBack: {
			type: Boolean,
			default: true
		},
		isBottom: {
			type: Boolean,
			default: false
		},
		title: {
			type: String,
			default: ''
		},
	},
	data() {
		return {
			textStyle:{'fontSize':'18px','fontWeight':"500",'color':'white'},
			background: '#39CD98'
		};
	},
	methods:{
		goback(){
			this.$emit('back')
		}
	}
};
</script>

<style></style>
